package com.fantastic.mapper.zjs;

import com.fantastic.model.pojo.zjs.Member;

import java.util.List;

/**
 * @author: rxx
 * @since: 2024/6/4 13:58
 * @description: 会员卡信息mapper接口
 */
public interface MemberMapper {

    /**
     * 查询会员卡信息
     *
     * @param member
     * @return
     */
    List<Member> listMember(Member member);

    /**
     * 查询单个会员卡信息
     *
     * @param memberId
     * @return
     */
    Member getMember(Integer memberId);

    /**
     * 添加会员卡信息
     *
     * @param member
     * @return
     */
    Integer insertMember(Member member);

    /**
     * 修改会员卡信息
     *
     * @param member
     * @return
     */
    Integer updateMember(Member member);

    /**
     * 删除会员卡信息
     *
     * @param memberId
     * @return
     */
    Integer deleteMember(Integer memberId);
}
